package cn.lxh.basic.query;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
public class BaseQuery {
    private Integer pageSize = 5;
    private Integer currentPage = 1;
    private String keyword;
    private Long id;
    public Integer getStart(){
        return (this.currentPage-1)*(this.pageSize);
    }
}
